import viteCompression from 'vite-plugin-compression';

export default function createGzip() {
    const gzip: any = viteCompression({
        ext: '.gz',
        algorithm: 'gzip',
        deleteOriginFile: false,
    });
    return gzip;
}
